home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / basic / apbsu106.zip / FILE-MAN.DOC < prev    next >
Text File  |  1992-05-30  |  8KB  |  160 lines

  1.                                  Matt Roberts
  2.                                5 Cedar St., # 8
  3.                            Montpelier, Vt 05602-3006
  4.                                  (802)223-2553
  5.  
  6.  
  7.                                     5-15-92 
  8.  
  9.                           NOTES ON FILE-MAN.EXE 1.06
  10.  
  11. ──────────────────────────────────────────────────────────────────────────────
  12.  
  13. This file manager is primarily, at this time, a mental exercise.  Writing file 
  14. managers teaches me a lot about the programming language I'm using.  
  15. Ultimately, I'd like to write a high-quality file manager that could be used 
  16. in place of DOS.  For now, it'll have to serve first and foremost as a pretty 
  17. decent example of programming with ApBASIC 1.7.  However, I think there's some 
  18. solid value in this program.  There are a couple things you don't normally 
  19. find from the DOS prompt, and maybe one or two which do the job slightly 
  20. better.  If you find the files on this disk useful, a donation of $5.00 would 
  21. be greatly appreciated.  Thanks.
  22.  
  23.  
  24.                          SYSTEM REQUIREMENTS AND NOTES
  25.  
  26. Unfortunately, I don't know how much RAM you'll need to run FILE-MAN.  I'll 
  27. let you know the minute I find out.  I don't think you need much memory at 
  28. this point in the game, however.  To use 40-column mode, you'll probably need 
  29. CGA, though you shouldn't hold me to that.  There may also be some instances 
  30. where reversed lettering (black on white) has been programmed; you'll need CGA 
  31. to see that.  If you don't, I think the computer will just ignore the request 
  32. for reversed letters, but I can't be sure.  Believe it or not, I've never used 
  33. a computer that didn't have some sort of graphics adapter, and I know little 
  34. about hardware theory; I can't figure out what will happen with any video 
  35. configuration I haven't used. 
  36.  
  37. This program was written and compiled on an Amstrad PC1512 SD.  The Amstrad 
  38. has an 8086 processor, running at 8MHz (non-switchable).  RAM was originally 
  39. 512K, which I later upgraded to 640.  There's also a 2Mb EMS card installed.  
  40. The monitor is a black and white composite CGA.  Originally, there was a 
  41. single 5.25" 360K drive; a second drive was added by the orginal owner.  When 
  42. I got it, I added a 49Mb hard disk card.  There's also a 1Mb EMS drive (like a 
  43. RAM drive, only with Expanded Memory).  IBM-compatibility is strong, with the 
  44. only major problems being with the mouse driver (v. 5.00).  That can 
  45. occasionally cause problems, but it usually doesn't.  The power source is in 
  46. the monitor, which locks the owner into Amstrad monitors exclusively.  
  47. Otherwise, things seem pretty standard.  The Amstrad PC1512 has been 
  48. discontinued.
  49.  
  50. The operating system used to compile, run, and test FILE-MAN was MS-DOS 5.00.
  51. I have no reason to believe that it won't run on almost any level of DOS you 
  52. might have but, again, I don't know for certain.  Probably the infamous MS- or 
  53. PC-DOS 2.1 or higher will be sufficient.
  54.  
  55. I know I've used a lot of words to express my ignorance, and I apologize.  I'm 
  56. constantly reading and studying to increase my knowledge of the computer 
  57. field, and I'll put more definite info in here as soon as I have it.
  58.  
  59.  
  60.                                USING THE PROGRAM
  61.  
  62. 2
  63. Typing FILE-MAN at the DOS prompt will give you an opening screen and then a 
  64. menu.  You'll type the number corresponding to your choice, and then press 
  65. Enter.  That's all there is to getting started.
  66.  
  67.  
  68.                        WORKING WITH YOUR CONFIG.SYS FILE
  69.  
  70. Your CONFIG.SYS file contains information your computer uses when it's first 
  71. turned on.  This information tells it how many files it can have open, as well 
  72. as other instructions which will be used during the course of operating the 
  73. system.  If you don't know anything about the CONFIG.SYS file, you probably 
  74. should have a look at your DOS manual before messing around with this section.
  75.  
  76. First, you'll be asked which drive you've got your CONFIG.SYS file on.  You'll 
  77. need to have the disk with CONFIG.SYS in the drive you specify.  FILE-MAN 
  78. looks for CONFIG.SYS in the root directory of whatever drive you specify.  
  79. You'll need to type the drive letter and the colon, but FILE-MAN will supply 
  80. the backslash for you.  In fact, if you type it, you'll get an error.
  81.  
  82. Once you've provided the drive information, FILE-MAN will offer the following 
  83. options: Just look at your CONFIG.SYS, add lines, create a new file, or return 
  84. to the Main Options Menu.  You'll type the number corresponding to your 
  85. choice, and then the Enter (Return) key.
  86.  
  87. Just looking at or adding lines to the end of your file are probably self-
  88. explanatory, as is returning to the menu, so we'll concentrate on creating a 
  89. new file.  The first thing that'll happen is that a backup, CONFIG.BAS, will 
  90. be made in the same directory and on the same drive as your CONFIG.SYS.  This 
  91. allows you to rescue your original CONFIG.SYS if things get too far out of 
  92. hand for your liking.  In order to restore your original from the DOS prompt, 
  93. you'll have to delete the new CONFIG.SYS, and then rename CONFIG.BAS to 
  94. CONFIG.SYS.  Check your DOS manual for details on how to do this.  You can 
  95. also restore your original from within the program, but not after you've left 
  96. the section for creating the new file.
  97.  
  98. Next, you'll be asked how many files you want.  This is the number of files 
  99. DOS is allowed to have open at any time.  Some advanced programs need a fairly 
  100. large number of files open.  However, you shouldn't specify more than you 
  101. need, since it takes RAM to keep track of the number you specify, whether 
  102. they're open or not.
  103.  
  104. Once that's done, you'll be asked how many buffers you want.  Darned if I know 
  105. what a buffer is, but apparently having some is handy.
  106.  
  107. Now, you'll be asked if you want to include any devices (also known as device 
  108. drivers).  If you're not sure what a device driver is, you should consult your 
  109. DOS manual before including any.
  110.  
  111. Finally, you'll be asked if you want BREAK on or off.  This has to do with how 
  112. often DOS checks to see if Ctrl-C or Ctrl-Break has been pressed.  Having this 
  113. feature on may make it easier to break out of some programs if things aren't 
  114. going well, but may also use more RAM and/or slow some operations.
  115.  
  116. Now, you've got a new CONFIG.SYS file.  Your next task is to review the file 
  117. and approve or otherwise.  If it's not OK and you want to go back and start 
  118. over again, press C and Enter.  If you want your old familiar CONFIG.SYS back, 
  119. press R and Enter.  If it's OK, type OK and press Enter.  In each case, upper 
  120. or lower case is fine, although it has to be one or the other (at this time, 
  121. typing Ok or oK would get you nowhere, but ok or OK is O.K.).  Okay?
  122.  
  123.  
  124. 3
  125.                            WORKING WITH AUTOEXEC.BAT
  126.  
  127. For all intents and purposes, this is identical to the CONFIG.SYS option.  You 
  128. get a chance to view, change, or add lines to the end of, your AUTOEXEC.BAT 
  129. file.
  130.  
  131.  
  132.                                  DELETE FILES
  133.  
  134. Upon choosing this option, you're treated to some noise about how dangerous it 
  135. is to delete files and how difficult they are to get back once you've deleted 
  136. them.  You are then given the opportunity to back out.  If you don't, you'll 
  137. be asked to type in the name of the file you wanted eradicated, which should 
  138. include the drive and path.  The dirty deed is did, you are informed of same, 
  139. and invited to make the same mistake again.  If you so choose, you may 
  140. destroy yet more priceless data.  Otherwise, you're returned to the menu.
  141.  
  142.  
  143.                                 MAKE DIRECTORY
  144.  
  145. This one is quite simple, and harmless as far as I know.  You type in the name 
  146. of the directory you want created, and you're done.
  147.  
  148.  
  149.                              DISPLAY FILE CONTENTS
  150.  
  151. Here, you get to display the text file of your choice.  Pressing Ctrl-NumLock 
  152. pauses the display.
  153.  
  154.  
  155.                                    COPY FILE
  156.  
  157. Again, this only works for text files; you can't copy .EXE and .COM files, or 
  158. other files with non-ASCII characters in it.  It takes longer than with